package com.example.demo.service;

import com.example.demo.dto.NurPatientRelDTO;
import com.example.demo.entity.NurPatientRel;
import com.example.demo.entity.Nurse;
import com.example.demo.entity.SocType;

import java.util.List;
import java.util.Map;

public interface SocService {
    //添加护理类型
    int addSocType(String typename);
    //查询护理类型
    List<SocType> findSocType();
    //查询护士
    List<Nurse> findAllNurse();
    //按页码查找护士
    List<Nurse> findNurseByPage(Integer startNum,Integer size);
    //添加护理记录
    int nurPatientRel(Map<String,String> map);
    //查询护理记录
    List<NurPatientRelDTO> findAllRel(Integer startNum, Integer size);
    //查询护理记录数
    int findRelTotal();
    //查询护士人数
    int findNurseTotal();
    //添加护士
    int addNurse(Map<String,String> map);
    //修改护士
    int updateNurse(Map<String,String> map);
    int delNurse(Integer nid);
}
